home *** CD-ROM | disk | FTP | other *** search
/ Great Canadian Scientists / GCS_CD.iso / mac / PC / GCSData / menus_o.dxr / 00102_BoxUp Handlers.ls < prev    next >
Encoding:
Text File  |  1996-09-08  |  458 b   |  28 lines

  1. on BoxUp
  2.   global BoxUp
  3.   if BoxUp = 1 then
  4.     if (the clickOn >= 16) and (the clickOn <= 19) then
  5.       pass()
  6.     else
  7.       if the mouseDown = 1 then
  8.         beep()
  9.       end if
  10.       dontPassEvent()
  11.     end if
  12.   end if
  13. end
  14.  
  15. on BoxUpE
  16.   global BoxUp
  17.   if BoxUp = 1 then
  18.     if (the clickOn >= 20) and (the clickOn <= 22) then
  19.       pass()
  20.     else
  21.       if the mouseDown = 1 then
  22.         beep()
  23.       end if
  24.       dontPassEvent()
  25.     end if
  26.   end if
  27. end
  28.